﻿<%@ Page language="C#" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head runat="server">
    <meta name="GENERATOR" content="Microsoft SharePoint" />
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=9"/>
	<meta http-equiv="Expires" content="0" />
	<meta content="width=device-width, initial-scale=1" name="viewport" />
	<SharePoint:RobotsMetaTag ID="RobotsMetaTag1" runat="server"/>
	<title>QR Code App</title>
    <link rel="stylesheet" href="../Css/App.css" />
    <script type="text/javascript" src="../Scripts/jquery-1.6.2.min.js"></script>
    <script type="text/javascript" src="../Scripts/jquery.qrcode.js"></script>
    <script type="text/javascript" src="../Scripts/qrcode.js"></script>
    <script type="text/javascript" src="../Scripts/App.js"></script>
</head>
<body class="bodyGal">
<SharePoint:FormDigest ID="FormDigest1" runat="server"></SharePoint:FormDigest>
<WebPartPages:AllowFraming ID="AllowFraming1" runat="server" />

<div id="qrcodeArea"></div>
<script type="text/javascript">
    if (RenderMode == "Table") {
        jQuery('#qrcodeArea').qrcode({
            render: "table",
            text: QRCodeText,
            width: QRWidth,
            height: QRHeight
        });
    }
    else {
        jQuery('#qrcodeArea').qrcode({
            text: QRCodeText,
            width: QRWidth,
            height: QRHeight
        });
    }
</script>
</body>
</html>
